<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Class: ViewerEvent</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Class: ViewerEvent</h1>

    




<section>

<header>
    
        <h2><span class="attribs"><span class="type-signature"></span></span>ViewerEvent<span class="signature">()</span><span class="type-signature"></span></h2>
        
    
</header>

<article>
    <div class="container-overview">
    
        

    

    
    <h4 class="name" id="ViewerEvent"><span class="type-signature"></span>new ViewerEvent<span class="signature">()</span><span class="type-signature"></span></h4>
    

    



<div class="description">
    BimViewer对象的事件枚举
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>




















    
    </div>

    

    

    

    

    

    

    
        <h3 class="subsection-title">Members</h3>

        
            
<h4 class="name" id=".ANNOTATION_CANCEL"><span class="type-signature">(static) </span>ANNOTATION_CANCEL<span class="type-signature"></span></h4>




<div class="description">
    标注取消，UI套件按钮发出的<br/>无事件参数
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".ANNOTATION_SAVE"><span class="type-signature">(static) </span>ANNOTATION_SAVE<span class="type-signature"></span></h4>




<div class="description">
    标注保存<br/>事件参数serializeData 序列化json对象
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".BEFOR_FIRST_RENDER"><span class="type-signature">(static) </span>BEFOR_FIRST_RENDER<span class="type-signature"></span></h4>




<div class="description">
    模型加载后第一次渲染之前，可以在这个事件回调中修改模型默认材质
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".BEFORE_LOAD"><span class="type-signature">(static) </span>BEFORE_LOAD<span class="type-signature"></span></h4>




<div class="description">
    轻量化数据准备下载之前<br/>事件参数 {name:modelName} 模型名称
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".BOX_SELECTED"><span class="type-signature">(static) </span>BOX_SELECTED<span class="type-signature"></span></h4>




<div class="description">
    框选事件<br/>事件参数和PICK事件一致
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".CONTEXT_MENU"><span class="type-signature">(static) </span>CONTEXT_MENU<span class="type-signature"></span></h4>




<div class="description">
    右键菜单<br/>事件参数mouse event 鼠标事件
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".DBL_CLICK"><span class="type-signature">(static) </span>DBL_CLICK<span class="type-signature"></span></h4>




<div class="description">
    双击并选中某个构件<br/>事件参数和PICK事件一致
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".DISPOSE"><span class="type-signature">(static) </span>DISPOSE<span class="type-signature"></span></h4>




<div class="description">
    引擎销毁释放资源
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".ERROR"><span class="type-signature">(static) </span>ERROR<span class="type-signature"></span></h4>




<div class="description">
    模型下载过程中出现异常错误<br/>事件参数 {message: msg} 错误消息
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".FIRST_PERSON_STOP"><span class="type-signature">(static) </span>FIRST_PERSON_STOP<span class="type-signature"></span></h4>




<div class="description">
    第一人称漫游过程中按下ESC键结束</br>事件参数 {source:'FirstPersonPluginEscKeyDown'}
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".HEAD_LOADED"><span class="type-signature">(static) </span>HEAD_LOADED<span class="type-signature"></span></h4>




<div class="description">
    模型头文件加载完毕 <br/>事件参数 { model: model.name,modelId:model.id} 模型名称 模型id
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".INTERSECTION"><span class="type-signature">(static) </span>INTERSECTION<span class="type-signature"></span></h4>




<div class="description">
    RAY事件，该事件一般给插件开发用，可以忽略
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".LOADED"><span class="type-signature">(static) </span>LOADED<span class="type-signature"></span></h4>




<div class="description">
    模型加载渲染完毕<br/>事件参数{ model: model.name,modelId:model.id} 模型名称 模型id
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".MAP_VIWER_INIT"><span class="type-signature">(static) </span>MAP_VIWER_INIT<span class="type-signature"></span></h4>




<div class="description">
    地图对象初始化
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".MESH_CHANGED"><span class="type-signature">(static) </span>MESH_CHANGED<span class="type-signature"></span></h4>




<div class="description">
    场景中的物体发生变化,譬如setProductsVisible()这样的API会触发该事件
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".ON_DOWNLOADED"><span class="type-signature">(static) </span>ON_DOWNLOADED<span class="type-signature"></span></h4>




<div class="description">
    模型下载完毕<br/>事件参数 {name:modelName} 模型名称
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".ON_PROGRESS"><span class="type-signature">(static) </span>ON_PROGRESS<span class="type-signature"></span></h4>




<div class="description">
    轻量化数据下载进度<br/>事件参数 {progress:progress,name:modelName}进度 模型名称
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".PICK"><span class="type-signature">(static) </span>PICK<span class="type-signature"></span></h4>




<div class="description">
    PICK选中<br/>事件参数 {source:'bim',data:[]} 对象数据包含pick的构件的重要信息
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".POINTER_LOCK_STOP"><span class="type-signature">(static) </span>POINTER_LOCK_STOP<span class="type-signature"></span></h4>




<div class="description">
    FPS漫游过程中会自动锁定鼠标指针操作,该事件会在停止FPS漫游操作并恢复鼠标正常操作时发送
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".POST_RENDER"><span class="type-signature">(static) </span>POST_RENDER<span class="type-signature"></span></h4>




<div class="description">
    场景刷新
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".PRODUCT_TREE_CHECKBOX_CHANGED"><span class="type-signature">(static) </span>PRODUCT_TREE_CHECKBOX_CHANGED<span class="type-signature"></span></h4>




<div class="description">
    构件树节点上的checkbox选中状态变化
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".PROPERTY_LOADED"><span class="type-signature">(static) </span>PROPERTY_LOADED<span class="type-signature"></span></h4>




<div class="description">
    构件属性数据加载完毕
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".ROOM_LOADED"><span class="type-signature">(static) </span>ROOM_LOADED<span class="type-signature"></span></h4>




<div class="description">
    空间数据加载完毕
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".ROOM_REMOVEED"><span class="type-signature">(static) </span>ROOM_REMOVEED<span class="type-signature"></span></h4>




<div class="description">
    空间数据移除完毕
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".ROOM_TREE_NODE_CLICK"><span class="type-signature">(static) </span>ROOM_TREE_NODE_CLICK<span class="type-signature"></span></h4>




<div class="description">
    空间树节点click事件通知
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".ROTATE_START"><span class="type-signature">(static) </span>ROTATE_START<span class="type-signature"></span></h4>




<div class="description">
    RotatePlugin执行旋转动画开始触发事件
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".ROTATE_STOP"><span class="type-signature">(static) </span>ROTATE_STOP<span class="type-signature"></span></h4>




<div class="description">
    RotatePlugin执行旋转动画结束触发事件
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".TRANSLATE_START"><span class="type-signature">(static) </span>TRANSLATE_START<span class="type-signature"></span></h4>




<div class="description">
    TranslatePlugin执行移动动画开始触发事件
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".TRANSLATE_STOP"><span class="type-signature">(static) </span>TRANSLATE_STOP<span class="type-signature"></span></h4>




<div class="description">
    TranslatePlugin执行移动动画结束触发事件
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".TREE_LOADED"><span class="type-signature">(static) </span>TREE_LOADED<span class="type-signature"></span></h4>




<div class="description">
    Level数据加载完毕
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".TREE_REMOVEED"><span class="type-signature">(static) </span>TREE_REMOVEED<span class="type-signature"></span></h4>




<div class="description">
    Level数据移除完毕
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id=".UNLOADED"><span class="type-signature">(static) </span>UNLOADED<span class="type-signature"></span></h4>




<div class="description">
    卸载模型完毕<br/>事件参数{ name: modelId } 模型id
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
    

    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AnnotationPlugin.html">AnnotationPlugin</a></li><li><a href="BillboardPlugin.html">BillboardPlugin</a></li><li><a href="BimViewer.html">BimViewer</a></li><li><a href="CircleWaveMeshPlugin.html">CircleWaveMeshPlugin</a></li><li><a href="CircleWavePlugin.html">CircleWavePlugin</a></li><li><a href="ClipBoxPlugin.html">ClipBoxPlugin</a></li><li><a href="ClipPlugin.html">ClipPlugin</a></li><li><a href="CommonTools.html">CommonTools</a></li><li><a href="CustomModel.html">CustomModel</a></li><li><a href="EdgePlugin.html">EdgePlugin</a></li><li><a href="ExplodePlugin.html">ExplodePlugin</a></li><li><a href="FencePlugin.html">FencePlugin</a></li><li><a href="FireClotPlugin.html">FireClotPlugin</a></li><li><a href="FirePlanPlugin.html">FirePlanPlugin</a></li><li><a href="FirePlugin.html">FirePlugin</a></li><li><a href="FlashPlugin.html">FlashPlugin</a></li><li><a href="FlyPlugin.html">FlyPlugin</a></li><li><a href="FpsPlugin.html">FpsPlugin</a></li><li><a href="GroundPlugin.html">GroundPlugin</a></li><li><a href="HeatmapCanvas.html">HeatmapCanvas</a></li><li><a href="HeatmapGridPlugin.html">HeatmapGridPlugin</a></li><li><a href="HeatmapPlugin.html">HeatmapPlugin</a></li><li><a href="HlsPlugin.html">HlsPlugin</a></li><li><a href="HtmlAnchorPlugin.html">HtmlAnchorPlugin</a></li><li><a href="HtmlDomPlugin.html">HtmlDomPlugin</a></li><li><a href="HtmlIconLabelPlugin.html">HtmlIconLabelPlugin</a></li><li><a href="HtmlLabelPlugin.html">HtmlLabelPlugin</a></li><li><a href="HtmlMarkerPlugin.html">HtmlMarkerPlugin</a></li><li><a href="ManPlugin.html">ManPlugin</a></li><li><a href="MapNode.html">MapNode</a></li><li><a href="MapPlugin.html">MapPlugin</a></li><li><a href="MapTools.html">MapTools</a></li><li><a href="MathHelp.html">MathHelp</a></li><li><a href="MeasurePlugin.html">MeasurePlugin</a></li><li><a href="module.exports_module.exports.html">exports</a></li><li><a href="MouseCapturePlugin.html">MouseCapturePlugin</a></li><li><a href="NavigationMapPlugin.html">NavigationMapPlugin</a></li><li><a href="OSGBPlugin.html">OSGBPlugin</a></li><li><a href="OutlinePlugin.html">OutlinePlugin</a></li><li><a href="PathRoamingPlugin.html">PathRoamingPlugin</a></li><li><a href="RainMaskPlugin.html">RainMaskPlugin</a></li><li><a href="RoadGeometryUtil.html">RoadGeometryUtil</a></li><li><a href="RoadPlugin.html">RoadPlugin</a></li><li><a href="RotatePlugin.html">RotatePlugin</a></li><li><a href="RotateScenePlugin.html">RotateScenePlugin</a></li><li><a href="SelectionBoxPlugin.html">SelectionBoxPlugin</a></li><li><a href="ShadowPlugin.html">ShadowPlugin</a></li><li><a href="SkyBoxPlugin.html">SkyBoxPlugin</a></li><li><a href="SmokePlugin.html">SmokePlugin</a></li><li><a href="SnowMaskPlugin.html">SnowMaskPlugin</a></li><li><a href="SpriteDomPlugin.html">SpriteDomPlugin</a></li><li><a href="SpriteLabelPlugin.html">SpriteLabelPlugin</a></li><li><a href="SpritePicturePlugin.html">SpritePicturePlugin</a></li><li><a href="SunPlugin.html">SunPlugin</a></li><li><a href="SvgCloudFrame.html">SvgCloudFrame</a></li><li><a href="SvgCloudLine.html">SvgCloudLine</a></li><li><a href="SvgEllipse.html">SvgEllipse</a></li><li><a href="SvgError.html">SvgError</a></li><li><a href="SvgLineArrow.html">SvgLineArrow</a></li><li><a href="SvgMultiplyLine.html">SvgMultiplyLine</a></li><li><a href="SvgRect.html">SvgRect</a></li><li><a href="SweepLightPlugin.html">SweepLightPlugin</a></li><li><a href="Tile.html">Tile</a></li><li><a href="Tip.html">Tip</a></li><li><a href="Toolbar.html">Toolbar</a></li><li><a href="TranslatePlugin.html">TranslatePlugin</a></li><li><a href="TubeFlowPlugin.html">TubeFlowPlugin</a></li><li><a href="TubeFlowWaterPlugin.html">TubeFlowWaterPlugin</a></li><li><a href="TweenTransparentPlugin.html">TweenTransparentPlugin</a></li><li><a href="UnrealBloomPlugin.html">UnrealBloomPlugin</a></li><li><a href="VideoPlugin.html">VideoPlugin</a></li><li><a href="ViewerEvent.html">ViewerEvent</a></li><li><a href="ViewerHelper.html">ViewerHelper</a></li><li><a href="Water.html">Water</a></li><li><a href="WaterPlugin.html">WaterPlugin</a></li></ul><h3>Global</h3><ul><li><a href="global.html#dispose">dispose</a></li><li><a href="global.html#setAction">setAction</a></li><li><a href="global.html#startAnimation">startAnimation</a></li><li><a href="global.html#stopAnimation">stopAnimation</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Tue Aug 29 2023 16:58:54 GMT+0800 (GMT+08:00)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>